<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ page import="java.util.*,com.autoMobile.bean.rrmSgjl,com.autoMobile.dao.rrmbxDao" %>
<!DOCTYPE html>
<html lang="zh">
<head>
  <meta charset="UTF-8">
  <title>申请理赔</title>
  <link rel="stylesheet" href="<%=request.getContextPath()%>/css/styles.css">
</head>
<body style="background: transparent;">
<div class="form-container">
  <h2>修改理赔申请</h2>
  <%

    rrmSgjl sgjl =new rrmSgjl();

    rrmbxDao bxdao =new rrmbxDao();
    bxdao.listSgjl();
    System.out.println("驾驶员"+sgjl.getJsy());

  %>
  <form action="/javaWeb24_12_war_exploded/UpdateSgjlZtServlet" method="post">
    <div class="form-group">
      <label>更改状态</label>
      <select class="form-control" name="zt" required>
        <option value="待处理" <%= sgjl.getSglx() != null && sgjl.getSglx().equals("待处理") ? "selected" : "" %>>待处理</option>
        <option value="处理中" <%= sgjl.getSglx() != null && sgjl.getSglx().equals("处理中") ? "selected" : "" %>>处理中</option>
        <option value="处理完毕" <%= sgjl.getSglx() != null && sgjl.getSglx().equals("处理完毕") ? "selected" : "" %>>处理完毕</option>
        <option value="其他" <%= sgjl.getSglx() != null && sgjl.getSglx().equals("其他") ? "selected" : "" %>>其他</option>
      </select>
      <div class="form-group">
        <label>id</label>
        <input type="text" name="id" class="form-control" value="${param.id} " readonly required>
      </div>
      <div class="form-footer">
        <button type="submit" class="btn">提交</button>
      </div>
    </div>
  </form>

</div>
</body>
</html>